package com.ruoyi.backend.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品详情（店铺显示）对象 t_product
 * 
 * @author wjr
 * @date 2025-09-23
 */
public class Product extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品ID */
    private Integer id;

    /** 店铺id */
    @Excel(name = "店铺id")
    private Integer shopId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String productName;

    /** 商品封面图片 */
    @Excel(name = "商品封面图片")
    private String productCoverPhoto;

    /** 商品图片 */
    @Excel(name = "商品图片")
    private String productPhoto;

    /** 商品简介 */
    @Excel(name = "商品简介")
    private String productIntro;

    /** 商品价格 */
    @Excel(name = "商品价格")
    private BigDecimal productPrice;

    /** 是否价格面议：0=是，1=否 */
    @Excel(name = "是否价格面议：0=是，1=否")
    private Integer isNegotiable;

    /** 商品归属服务id */
    @Excel(name = "商品归属服务id")
    private Integer serviceId;

    /** 商品归属服务名称 */
    @Excel(name = "商品归属服务名称")
    private String serviceName;

    /** 产品成交量 */
    @Excel(name = "产品成交量")
    private Integer productTurnover;

    /** 是否可用：0=是，1=否 */
    @Excel(name = "是否可用：0=是，1=否")
    private Integer isUsable;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductCoverPhoto() {
        return productCoverPhoto;
    }

    public void setProductCoverPhoto(String productCoverPhoto) {
        this.productCoverPhoto = productCoverPhoto;
    }

    public String getProductPhoto() {
        return productPhoto;
    }

    public void setProductPhoto(String productPhoto) {
        this.productPhoto = productPhoto;
    }

    public String getProductIntro() {
        return productIntro;
    }

    public void setProductIntro(String productIntro) {
        this.productIntro = productIntro;
    }

    public BigDecimal getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(BigDecimal productPrice) {
        this.productPrice = productPrice;
    }

    public Integer getIsNegotiable() {
        return isNegotiable;
    }

    public void setIsNegotiable(Integer isNegotiable) {
        this.isNegotiable = isNegotiable;
    }

    public Integer getServiceId() {
        return serviceId;
    }

    public void setServiceId(Integer serviceId) {
        this.serviceId = serviceId;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public Integer getProductTurnover() {
        return productTurnover;
    }

    public void setProductTurnover(Integer productTurnover) {
        this.productTurnover = productTurnover;
    }

    public Integer getIsUsable() {
        return isUsable;
    }

    public void setIsUsable(Integer isUsable) {
        this.isUsable = isUsable;
    }

    @Override
    public String toString() {
        return "Product{" +
                "id=" + id +
                ", shopId=" + shopId +
                ", productName='" + productName + '\'' +
                ", productCoverPhoto='" + productCoverPhoto + '\'' +
                ", productPhoto='" + productPhoto + '\'' +
                ", productIntro='" + productIntro + '\'' +
                ", productPrice=" + productPrice +
                ", isNegotiable=" + isNegotiable +
                ", serviceId=" + serviceId +
                ", serviceName='" + serviceName + '\'' +
                ", productTurnover=" + productTurnover +
                ", isUsable=" + isUsable +
                '}';
    }

}
